#!/bin/sh

FILEPATH=$(cmus-remote -Q | grep file | awk -F"file " '{ print $2;exit }')
DIR=$(dirname "$FILEPATH")
#echo $DIR
#echo $(find "$DIR" -maxdepth 1 -type f -iname *.jpg -o -iname *.png)
sxiv "$DIR" -p -z 100 -s f -b
